package com.woniu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu.entity.Vehicle;
import com.woniu.vo.VehicleVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Apricity
* @description 针对表【vehicle(车辆表)】的数据库操作Mapper
* @createDate 2025-02-13 20:16:59
* @Entity com.woniu.entity.Vehicle
*/
@Mapper
public interface VehicleMapper extends BaseMapper<Vehicle> {
    List<VehicleVO> queryVehicleList(Page<VehicleVO> page);
    
    List<VehicleVO> queryVehicleByKeyword(String keyword, Page<VehicleVO> page);

    int updateVehicle(Vehicle vehicle);
}




